/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * VarianceScreen.java
 *
 * Created on 05 29, 11, 12:30:24 PM
 */
package vera;

/**
 *
 * @author kasia
 */
public class VarianceScreen extends ParentClass {

    /** Creates new form VarianceScreen */
    public VarianceScreen() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        m_labelVariance = new javax.swing.JLabel();
        m_labelBillNo = new javax.swing.JLabel();
        m_labelBillSummary = new javax.swing.JLabel();
        m_textFieldBillNo = new javax.swing.JTextField();
        jScrollPane1 = new javax.swing.JScrollPane();
        m_textAreaBillSummary = new javax.swing.JTextArea();
        m_labelVarianceAmount = new javax.swing.JLabel();
        m_textFieldVarianceAmount = new javax.swing.JTextField();
        m_labelRemarks = new javax.swing.JLabel();
        jScrollPane2 = new javax.swing.JScrollPane();
        m_textAreaRemarks = new javax.swing.JTextArea();
        m_labelOutstandingAmount = new javax.swing.JLabel();
        m_textFieldOutstandingAmount = new javax.swing.JTextField();
        m_labelDateCreated = new javax.swing.JLabel();
        m_buttonCreate = new javax.swing.JButton();
        m_buttonCancel = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setName("Form"); // NOI18N

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(vera.VERAApp.class).getContext().getResourceMap(VarianceScreen.class);
        m_labelVariance.setFont(resourceMap.getFont("m_labelVariance.font")); // NOI18N
        m_labelVariance.setText(resourceMap.getString("m_labelVariance.text")); // NOI18N
        m_labelVariance.setName("m_labelVariance"); // NOI18N

        m_labelBillNo.setText(resourceMap.getString("m_labelBillNo.text")); // NOI18N
        m_labelBillNo.setName("m_labelBillNo"); // NOI18N

        m_labelBillSummary.setText(resourceMap.getString("m_labelBillSummary.text")); // NOI18N
        m_labelBillSummary.setName("m_labelBillSummary"); // NOI18N

        m_textFieldBillNo.setText(resourceMap.getString("m_textFieldBillNo.text")); // NOI18N
        m_textFieldBillNo.setName("m_textFieldBillNo"); // NOI18N

        jScrollPane1.setName("jScrollPane1"); // NOI18N

        m_textAreaBillSummary.setColumns(20);
        m_textAreaBillSummary.setRows(5);
        m_textAreaBillSummary.setName("m_textAreaBillSummary"); // NOI18N
        jScrollPane1.setViewportView(m_textAreaBillSummary);

        m_labelVarianceAmount.setText(resourceMap.getString("m_labelVarianceAmount.text")); // NOI18N
        m_labelVarianceAmount.setName("m_labelVarianceAmount"); // NOI18N

        m_textFieldVarianceAmount.setText(resourceMap.getString("m_textFieldVarianceAmount.text")); // NOI18N
        m_textFieldVarianceAmount.setName("m_textFieldVarianceAmount"); // NOI18N

        m_labelRemarks.setText(resourceMap.getString("m_labelRemarks.text")); // NOI18N
        m_labelRemarks.setName("m_labelRemarks"); // NOI18N

        jScrollPane2.setName("jScrollPane2"); // NOI18N

        m_textAreaRemarks.setColumns(20);
        m_textAreaRemarks.setRows(5);
        m_textAreaRemarks.setName("m_textAreaRemarks"); // NOI18N
        jScrollPane2.setViewportView(m_textAreaRemarks);

        m_labelOutstandingAmount.setText(resourceMap.getString("m_labelOutstandingAmount.text")); // NOI18N
        m_labelOutstandingAmount.setName("m_labelOutstandingAmount"); // NOI18N

        m_textFieldOutstandingAmount.setText(resourceMap.getString("m_textFieldOutstandingAmount.text")); // NOI18N
        m_textFieldOutstandingAmount.setName("m_textFieldOutstandingAmount"); // NOI18N

        m_labelDateCreated.setText(resourceMap.getString("m_labelDateCreated.text")); // NOI18N
        m_labelDateCreated.setName("m_labelDateCreated"); // NOI18N

        m_buttonCreate.setText(resourceMap.getString("m_buttonCreate.text")); // NOI18N
        m_buttonCreate.setName("m_buttonCreate"); // NOI18N

        m_buttonCancel.setText(resourceMap.getString("m_buttonCancel.text")); // NOI18N
        m_buttonCancel.setName("m_buttonCancel"); // NOI18N
        m_buttonCancel.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                m_buttonCancelActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(m_labelDateCreated)
                        .addGap(605, 605, 605)
                        .addComponent(m_buttonCreate)
                        .addGap(32, 32, 32)
                        .addComponent(m_buttonCancel)
                        .addContainerGap())
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(m_labelVariance)
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(m_labelOutstandingAmount)
                                    .addComponent(m_labelBillNo)
                                    .addComponent(m_labelBillSummary)
                                    .addComponent(m_labelVarianceAmount)
                                    .addComponent(m_labelRemarks))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(m_textFieldBillNo, javax.swing.GroupLayout.DEFAULT_SIZE, 191, Short.MAX_VALUE)
                                    .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 191, Short.MAX_VALUE)
                                    .addComponent(m_textFieldVarianceAmount, javax.swing.GroupLayout.DEFAULT_SIZE, 191, Short.MAX_VALUE)
                                    .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 191, Short.MAX_VALUE)
                                    .addComponent(m_textFieldOutstandingAmount, javax.swing.GroupLayout.DEFAULT_SIZE, 191, Short.MAX_VALUE))))
                        .addContainerGap(680, javax.swing.GroupLayout.PREFERRED_SIZE))))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(25, 25, 25)
                .addComponent(m_labelVariance)
                .addGap(27, 27, 27)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(m_labelBillNo)
                    .addComponent(m_textFieldBillNo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(m_labelBillSummary)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(17, 17, 17)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(m_labelVarianceAmount)
                    .addComponent(m_textFieldVarianceAmount, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(m_labelRemarks)
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(20, 20, 20)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(m_labelOutstandingAmount)
                    .addComponent(m_textFieldOutstandingAmount, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 186, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(m_labelDateCreated)
                    .addComponent(m_buttonCreate)
                    .addComponent(m_buttonCancel))
                .addGap(39, 39, 39))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void m_buttonCancelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_m_buttonCancelActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_m_buttonCancelActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new VarianceScreen().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JButton m_buttonCancel;
    private javax.swing.JButton m_buttonCreate;
    private javax.swing.JLabel m_labelBillNo;
    private javax.swing.JLabel m_labelBillSummary;
    private javax.swing.JLabel m_labelDateCreated;
    private javax.swing.JLabel m_labelOutstandingAmount;
    private javax.swing.JLabel m_labelRemarks;
    private javax.swing.JLabel m_labelVariance;
    private javax.swing.JLabel m_labelVarianceAmount;
    private javax.swing.JTextArea m_textAreaBillSummary;
    private javax.swing.JTextArea m_textAreaRemarks;
    private javax.swing.JTextField m_textFieldBillNo;
    private javax.swing.JTextField m_textFieldOutstandingAmount;
    private javax.swing.JTextField m_textFieldVarianceAmount;
    // End of variables declaration//GEN-END:variables
}
